package com.yudaob2b.business.entity.po;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @author Kidd.Tan
 * @email 298023780@qq.com
 * @date 7/5/18 11:03 PM
 */
@TableName("elong_hotel_detail")
public class ElongHotelDetailPO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 酒店ID
     */
    @TableId(value = "hotel_id",type = IdType.ID_WORKER)
    private String hotel_id;

    /**
     * 详情
     */
    @TableField()
    private String detail;

    /**
     * 房型
     */
    private String room;

    /**
     * 图片
     */
    private String image;

    /**
     * 点评
     */
    private String review;

    public String getHotel_id() {
        return hotel_id;
    }

    public void setHotel_id(String hotel_id) {
        this.hotel_id = hotel_id;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getReview() {
        return review;
    }

    public void setReview(String review) {
        this.review = review;
    }

    @Override
    public String toString() {
        return "ElongHotelDetailPO{" +
                "hotel_id=" + hotel_id +
                ", detail='" + detail + '\'' +
                ", room='" + room + '\'' +
                ", image='" + image + '\'' +
                ", review='" + review + '\'' +
                '}';
    }
}
